package com.ldk.springboot2021.service;

import com.ldk.springboot2021.pojo.Order;

import java.util.List;

//业务层接口
public interface OrderService {
    //添加数据
    int addOrder(Order order);
    //查询全部
    List<Order> lookAllOrder();
    //查询指定Id
    Order lookOrderById(int num);
    //修改全部
    int updateAll(Order order);
    //删除指定Id
    int deletById(int num);
}
